package me.zhyx.music.dao;

import me.zhyx.music.model.Music;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther: yssq
 * @Date: 2019/3/14 12:37
 * @Description:
 */
@Repository
public interface MusicInterface {
    int insert(Music music);

    int insertException(@Param("url") String url);

    List<String> selectAllUrl();

    int updateUrlStatus(@Param("url") String url, @Param("isDelete") int isDelete);

    int updateMusicDetails(Music music);
}
